package edu.isistan.matching;

import iglu.ir.TermVector;

import java.net.URL;

import edu.isistan.vsm.Representation;

/**
 * Especialización para representar servicios Web asociados a un vector en el espacio. 
 * @author Marco Crasso
 * Jul 6, 2007
 */
public class WSDLRepresentation extends Representation {

	public WSDLRepresentation(String category, TermVector vector, URL wsdl) {
		this(category,wsdl);
		setVector(vector);
	}
	
	public WSDLRepresentation(String category, URL wsdl) {
		super(category);
		this.wsdlUrl = wsdl;
	}

	URL wsdlUrl;

	public URL getWsdlURL() {
		return wsdlUrl;
	}

	public void setWsdlURL(URL wsdl) {
		this.wsdlUrl = wsdl;
	}	
	
	@Override
	public String toString() {		
		return "[wsdl=" + getWsdlURL().toString()+ "] " + super.toString();
	}
}